version: "3.3"

services:
  bootstrap:
    build: .
    volumes:
      - ../certbot/www:/var/www/certbot
      - ../certbot/files:/etc/letsencrypt
      - ./bootstrap.sh:/bootstrap.sh
      - ./bootstrap.env:/bootstrap.env
    ports:
      - 80:80
    env_file:
      - bootstrap.env
    entrypoint: /bootstrap.sh
